package com.demo.connectdbtest.module.price.popoMapper;

import com.demo.connectdbtest.module.price.domain.Resource;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ResourceMapper {

    @Select("select * from t_sys_resource")
    List<Resource> getAllData();

    @Select("select * from t_sys_resource where name = #{name}")
    List<Resource> selectByCondition(@Param("name") String name);
}
